<?php
namespace app\admin\model;
use think\Model;
use think\Db;
class SupplierModel extends Model
{
    public function getAdd($data)
    {
        $arr =Db::name('supplier')->insertGetId($data);
        return $arr;
    }
}